package com.ruoyi.web.controller.app.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @描述:
 * @Author: TangYuan
 * @Date: 2024/8/20 16:52
 */
@Component
@ConfigurationProperties(prefix = "wx")
public class WxConfig {
    
    /** 项目名称 */
    private static String appId;
    
    /** 版本 */
    private static String appSecret;
    
    /** 默认头像 */
    private static String avatar;
    
    public static String getAppId() {
        return appId;
    }
    
    public void setAppId(String appId) {
        WxConfig.appId = appId;
    }
    
    public static String getAppSecret() {
        return appSecret;
    }
    
    public void setAppSecret(String appSecret) {
        WxConfig.appSecret = appSecret;
    }
    
    public static String getAvatar() {
        return avatar;
    }
    
    public void setAvatar(String avatar) {
        WxConfig.avatar = avatar;
    }
}
